from flask import Flask,request

app= Flask(__name__)

@app.route('/')
def index():
    #方式一
    # username = request.args.get('username')
    # pwd = request.args.get('passwd')

    #方式二
    username = request.values.get('username')
    pwd = request.values.get('passwd')

    return f'Hello World==={username}==={pwd}'

if __name__ == '__main__':
    app.run(debug=True)